<template>
  <h1>HelloWorld</h1>
  <span>{{ msg }}</span>
  <span>{{ count }}</span>
  <button @click="addCount">按钮</button>
</template>

<script>
export default {
  name: 'HelloWorld',
  props: {
    msg: String,
    count: Number,
    addCount: Function
  }
}
</script>

<style>
</style>
